package projects

import (
	"github.com/beego/beego/v2/client/orm"
	"xpms/app/models"
)

type TaskCaseStep struct {
	Id              int64 `orm:"pk;column(id);" json:"Id,string"`
	Planid          int64 `json:"Planid,string"`
	Taskid          int64 `json:"Taskid,string"`
	Taskrelid       int64 `json:"Taskrelid,string"`
	Taskcaseid      int64 `json:"Taskcaseid,string"`
	Caseid          int64 `json:"Caseid,string"`
	Sort            int64
	Stepdesc        string
	Expectedresults string
	Actionresults   string
	Status          int `json:"Status,string"`
	Remarks         string
	Created         int64
	Createid        int64 `json:"Createid,string"`
	Changed         int64
	Changid         int64 `json:"Changid,string"`
	Changname       string
}

func (this *TaskCaseStep) TableName() string {
	return models.TableName("projects_task_case_step")
}

func init() {
	orm.RegisterModel(new(TaskCaseStep))
}
